import os
import tensorflow as tf

if __name__ == '__main__':
    os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

    m = tf.constant([1,2,3,4])
    n = 2

    print(tf.pow(m, n))
